package com.lds.register.center.common.model.appinstance.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * 批量新建 - 请求
 *
 * @author lidongsheng
 * @since 2025-07-16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain = true)
public class AppInstanceBaseBatchCreateRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotEmpty(message = "requests不能为空")
    @Valid
    private List<AppInstanceBaseCreateRequest> requests;
}